using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_Communication_KcpLink_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.Communication.KcpLink);
            args = new Type[]{};
            method = type.GetMethod("Awake", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Awake_0);
            args = new Type[]{};
            method = type.GetMethod("Connect", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Connect_1);
            args = new Type[]{typeof(System.Int32), typeof(System.Int32)};
            method = type.GetMethod("Redirect", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Redirect_2);
            args = new Type[]{typeof(System.String), typeof(System.Int32)};
            method = type.GetMethod("Redirect", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Redirect_3);
            args = new Type[]{};
            method = type.GetMethod("ContinuousSend", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ContinuousSend_4);
            args = new Type[]{};
            method = type.GetMethod("Disconnect", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Disconnect_5);
            args = new Type[]{typeof(System.Byte[]), typeof(System.Int32), typeof(System.UInt16)};
            method = type.GetMethod("AddRecvMsg", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AddRecvMsg_6);
            args = new Type[]{typeof(System.Byte[]), typeof(System.Int32)};
            method = type.GetMethod("AddRecvMsg", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AddRecvMsg_7);
            args = new Type[]{};
            method = type.GetMethod("Clear", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Clear_8);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_9);

            field = type.GetField("uniId", flag);
            app.RegisterCLRFieldGetter(field, get_uniId_0);
            app.RegisterCLRFieldSetter(field, set_uniId_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_uniId_0, AssignFromStack_uniId_0);
            field = type.GetField("Key", flag);
            app.RegisterCLRFieldGetter(field, get_Key_1);
            app.RegisterCLRFieldSetter(field, set_Key_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_Key_1, AssignFromStack_Key_1);
            field = type.GetField("Iv", flag);
            app.RegisterCLRFieldGetter(field, get_Iv_2);
            app.RegisterCLRFieldSetter(field, set_Iv_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_Iv_2, AssignFromStack_Iv_2);
            field = type.GetField("AllowFileTransfer", flag);
            app.RegisterCLRFieldGetter(field, get_AllowFileTransfer_3);
            app.RegisterCLRFieldSetter(field, set_AllowFileTransfer_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_AllowFileTransfer_3, AssignFromStack_AllowFileTransfer_3);
            field = type.GetField("RecvTime", flag);
            app.RegisterCLRFieldGetter(field, get_RecvTime_4);
            app.RegisterCLRFieldSetter(field, set_RecvTime_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_RecvTime_4, AssignFromStack_RecvTime_4);
            field = type.GetField("TimeOut", flag);
            app.RegisterCLRFieldGetter(field, get_TimeOut_5);
            app.RegisterCLRFieldSetter(field, set_TimeOut_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_TimeOut_5, AssignFromStack_TimeOut_5);
            field = type.GetField("MsgTimeOut", flag);
            app.RegisterCLRFieldGetter(field, get_MsgTimeOut_6);
            app.RegisterCLRFieldSetter(field, set_MsgTimeOut_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_MsgTimeOut_6, AssignFromStack_MsgTimeOut_6);
            field = type.GetField("ConnectTime", flag);
            app.RegisterCLRFieldGetter(field, get_ConnectTime_7);
            app.RegisterCLRFieldSetter(field, set_ConnectTime_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_ConnectTime_7, AssignFromStack_ConnectTime_7);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.Communication.KcpLink());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.Communication.KcpLink[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* Awake_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Awake();

            return __ret;
        }

        static StackObject* Connect_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Connect();

            return __ret;
        }

        static StackObject* Redirect_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @cport = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @ciP = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Redirect(@ciP, @cport);

            return __ret;
        }

        static StackObject* Redirect_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @cport = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.String @cip = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Redirect(@cip, @cport);

            return __ret;
        }

        static StackObject* ContinuousSend_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ContinuousSend();

            return __ret;
        }

        static StackObject* Disconnect_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Disconnect();

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* AddRecvMsg_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.UInt16 @time = (ushort)ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Int32 @len = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            System.Byte[] @buf = (System.Byte[])typeof(System.Byte[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.AddRecvMsg(@buf, @len, @time);

            return __ret;
        }

        static StackObject* AddRecvMsg_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @len = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Byte[] @buf = (System.Byte[])typeof(System.Byte[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.AddRecvMsg(@buf, @len);

            return __ret;
        }

        static StackObject* Clear_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Clear();

            return __ret;
        }

        static StackObject* Dispose_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Communication.KcpLink instance_of_this_method = (huqiang.Communication.KcpLink)typeof(huqiang.Communication.KcpLink).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }


        static object get_uniId_0(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).uniId;
        }

        static StackObject* CopyToStack_uniId_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).uniId;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_uniId_0(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).uniId = (System.String)v;
        }

        static StackObject* AssignFromStack_uniId_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @uniId = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Communication.KcpLink)o).uniId = @uniId;
            return ptr_of_this_method;
        }

        static object get_Key_1(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).Key;
        }

        static StackObject* CopyToStack_Key_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).Key;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Key_1(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).Key = (System.Byte[])v;
        }

        static StackObject* AssignFromStack_Key_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Byte[] @Key = (System.Byte[])typeof(System.Byte[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Communication.KcpLink)o).Key = @Key;
            return ptr_of_this_method;
        }

        static object get_Iv_2(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).Iv;
        }

        static StackObject* CopyToStack_Iv_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).Iv;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Iv_2(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).Iv = (System.Byte[])v;
        }

        static StackObject* AssignFromStack_Iv_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Byte[] @Iv = (System.Byte[])typeof(System.Byte[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Communication.KcpLink)o).Iv = @Iv;
            return ptr_of_this_method;
        }

        static object get_AllowFileTransfer_3(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).AllowFileTransfer;
        }

        static StackObject* CopyToStack_AllowFileTransfer_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).AllowFileTransfer;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_AllowFileTransfer_3(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).AllowFileTransfer = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_AllowFileTransfer_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @AllowFileTransfer = ptr_of_this_method->Value == 1;
            ((huqiang.Communication.KcpLink)o).AllowFileTransfer = @AllowFileTransfer;
            return ptr_of_this_method;
        }

        static object get_RecvTime_4(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).RecvTime;
        }

        static StackObject* CopyToStack_RecvTime_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).RecvTime;
            __ret->ObjectType = ObjectTypes.Long;
            *(long*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_RecvTime_4(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).RecvTime = (System.Int64)v;
        }

        static StackObject* AssignFromStack_RecvTime_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int64 @RecvTime = *(long*)&ptr_of_this_method->Value;
            ((huqiang.Communication.KcpLink)o).RecvTime = @RecvTime;
            return ptr_of_this_method;
        }

        static object get_TimeOut_5(ref object o)
        {
            return huqiang.Communication.KcpLink.TimeOut;
        }

        static StackObject* CopyToStack_TimeOut_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = huqiang.Communication.KcpLink.TimeOut;
            __ret->ObjectType = ObjectTypes.Long;
            *(long*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_TimeOut_5(ref object o, object v)
        {
            huqiang.Communication.KcpLink.TimeOut = (System.Int64)v;
        }

        static StackObject* AssignFromStack_TimeOut_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int64 @TimeOut = *(long*)&ptr_of_this_method->Value;
            huqiang.Communication.KcpLink.TimeOut = @TimeOut;
            return ptr_of_this_method;
        }

        static object get_MsgTimeOut_6(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).MsgTimeOut;
        }

        static StackObject* CopyToStack_MsgTimeOut_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).MsgTimeOut;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_MsgTimeOut_6(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).MsgTimeOut = (System.Int32)v;
        }

        static StackObject* AssignFromStack_MsgTimeOut_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @MsgTimeOut = ptr_of_this_method->Value;
            ((huqiang.Communication.KcpLink)o).MsgTimeOut = @MsgTimeOut;
            return ptr_of_this_method;
        }

        static object get_ConnectTime_7(ref object o)
        {
            return ((huqiang.Communication.KcpLink)o).ConnectTime;
        }

        static StackObject* CopyToStack_ConnectTime_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Communication.KcpLink)o).ConnectTime;
            __ret->ObjectType = ObjectTypes.Long;
            *(long*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_ConnectTime_7(ref object o, object v)
        {
            ((huqiang.Communication.KcpLink)o).ConnectTime = (System.Int64)v;
        }

        static StackObject* AssignFromStack_ConnectTime_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int64 @ConnectTime = *(long*)&ptr_of_this_method->Value;
            ((huqiang.Communication.KcpLink)o).ConnectTime = @ConnectTime;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.Communication.KcpLink();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
